package main

import (
	"net/http"
	"io"
)

func main() {
	http.HandleFunc("/", func(w http.ResponseWriter, req *http.Request) {
		w.Header().Set("Content-Type", "text/html")
		io.WriteString(w, "<html><head><title>hello</title></head><body>Hello world!</body></html>")
	})

	http.ListenAndServe("localhost:3000",nil)
}
